package website.seamonster.ethegg.schedule;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

/**
 * Created by 罗海量
 * 2018-07-19 21:34
 */
@lombok.extern.slf4j.Slf4j
public class ScheduleManager {
    //这个用来生蛋（孵化蛋）
    public static ScheduledExecutorService multiService = Executors.newScheduledThreadPool(50);
    //这个用来处理交易
    public static ScheduledExecutorService singleScheduleService = Executors.newSingleThreadScheduledExecutor();
    //这个用来生蛋（孵化蛋），串行化操作
    public static ScheduledExecutorService delayService = Executors.newSingleThreadScheduledExecutor();

}
